import request from '@/utils/request'

// 查询劳动位次配置列表
export function listProldwc(query) {
  return request({
    url: '/project/proldwc/list',
    method: 'get',
    params: query
  })
}

// 查询劳动位次配置详细
export function getProldwc(id) {
  return request({
    url: '/project/proldwc/' + id,
    method: 'get'
  })
}

// 新增劳动位次配置
export function addProldwc(data) {
  return request({
    url: '/project/proldwc',
    method: 'post',
    data: data
  })
}

// 修改劳动位次配置
export function updateProldwc(data) {
  return request({
    url: '/project/proldwc',
    method: 'put',
    data: data
  })
}

// 删除劳动位次配置
export function delProldwc(id) {
  return request({
    url: '/project/proldwc/' + id,
    method: 'delete'
  })
}
